#计科1814-36-李彦妮
#第三天
number = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
char = 'abcdefjhijklmnopqrstuvwxyzABCDEFJHIGKLMNOPQRSTUVWXYZ'
password = input('请输入密码：')

# 判断密码长度
length = len(password)
while (password.isspace()) or (length == 0):
    print('输入为空，请重新输入密码：')
    password = input('请输入密码：')
    length = len(password)    #为空重新输入

if length <9:
    long = 1
elif length >8:
    long = 2

# 判断字符
a = 0
for b in password:
    if b in number:
        a += 1
        break
for b in password:
    if b in char:
        a += 1
        break

print('密码等级为：', end='')
if long == 1 or a == 1:
    print('低'),
elif long == 2 or a == 2:
    print('高')

